import fetch from '@/utils/request';

const API_CASH_URL = '/api/user/finance/cash';
/**
 * 
 * @module CashApi
 */
const CashApi = {
	/**
	 * @function apply
	 * @description 申请提现
	 * @param  {Object} apply 提现对象
	 */
	apply: (apply) => fetch.request({
		url: `${API_CASH_URL}/apply`,
		method: 'POST',
		data: {
			apply: apply,
		},
	}),
}
export default CashApi;